include $(GNUSTEP_MAKEFILES)/common.make

BUNDLE_NAME = AddressBook
BUNDLE_EXTENSION = .plugin

AddressBook_OBJC_FILES = \
	ABObject.m \
	AddressBookFactory.m

AddressBook_RESOURCE_FILES += \
	plugin.xml

AddressBook_LANGUAGES = English

AddressBook_LOCALIZED_RESOURCE_FILES += Localizable.strings

ifeq ($(FOUNDATION_LIB), apple)
	ADDITIONAL_OBJCFLAGS += -F../OrganizeKit/
	ADDITIONAL_LDFLAGS += \
		-F../OrganizeKit/ -framework OrganizeKit \
		-framework AddressBook
else
endif

ADDITIONAL_OBJCFLAGS += -I../Protocols

include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble

